<html>
<body>
Reports <code>@TestOnly</code>- and <code>@VisibleForTesting</code>-annotated methods and classes that are used in production code. Also reports
usage of applying <code>@TestOnly</code> <code>@VisibleForTesting</code> to the same element.

<p>The problems are not reported if such method or class is referenced from:</p>
<ul>
  <li>Code under the <b>Test Sources</b> folder
  <li>A test class (JUnit/TestNG)
  <li>Another <code>@TestOnly</code>-annotated method
</ul>
<p><b>Example (in production code):</b></p>
<pre><code lang="kotlin">
  @TestOnly
  fun foo() { ... }

  fun main () {
    foo()
  }
</code></pre>
</body>
</html>
